import { Module } from '@nestjs/common';
import { AppHistoryController } from './history.controller';
import { AppHistoryService } from './history.service';
import { HttpModule } from '@nestjs/axios';
import { TypeOrmModule } from '@nestjs/typeorm';
import { History } from './history.entity';
@Module({
  imports: [
    TypeOrmModule.forFeature([History]),
    HttpModule.register({
      timeout: 60000,
      maxRedirects: 5,
    }),
  ],
  controllers: [AppHistoryController],
  providers: [AppHistoryService],
  exports: [AppHistoryService],
})
export default class AppHistoryModule {}
